/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.zxr.model.resp;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;

import top.continew.admin.common.model.resp.BaseDetailResp;

import java.io.Serial;
import java.time.*;
import java.math.BigDecimal;

/**
 * 销售合同详情信息
 *
 * @author yfh
 * @since 2025/05/06 14:42
 */
@Data
@ExcelIgnoreUnannotated
@Schema(description = "销售合同详情信息")
public class XshtbDetailResp extends BaseDetailResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 合同状态编码
     */
    @Schema(description = "合同状态编码")
    @ExcelProperty(value = "合同状态编码")
    private String htztbm;

    /**
     * 合同类型编码
     */
    @Schema(description = "合同类型编码")
    @ExcelProperty(value = "合同类型编码")
    private String htlxbm;

    /**
     * 供货企业
     */
    @Schema(description = "供货企业")
    @ExcelProperty(value = "供货企业")
    private String ghqy;

    /**
     * 供货企业编号
     */
    @Schema(description = "供货企业编号")
    @ExcelProperty(value = "供货企业编号")
    private Long ghqybh;

    /**
     * 采购企业
     */
    @Schema(description = "采购企业")
    @ExcelProperty(value = "采购企业")
    private String cgqy;

    /**
     * 采购企业编号
     */
    @Schema(description = "采购企业编号")
    @ExcelProperty(value = "采购企业编号")
    private Long cgqybh;

    /**
     * 联系人
     */
    @Schema(description = "联系人")
    @ExcelProperty(value = "联系人")
    private String lxr;

    /**
     * 联系方式
     */
    @Schema(description = "联系方式")
    @ExcelProperty(value = "联系方式")
    private String lxfs;

    /**
     * 传真
     */
    @Schema(description = "传真")
    @ExcelProperty(value = "传真")
    private String cz;

    /**
     * 开户行
     */
    @Schema(description = "开户行")
    @ExcelProperty(value = "开户行")
    private String khh;

    /**
     * 银行账号
     */
    @Schema(description = "银行账号")
    @ExcelProperty(value = "银行账号")
    private String yhzh;

    /**
     * 企业地址
     */
    @Schema(description = "企业地址")
    @ExcelProperty(value = "企业地址")
    private String qydz;

    /**
     * 合同编号平台
     */
    @Schema(description = "合同编号平台")
    @ExcelProperty(value = "合同编号平台")
    private String htbhpt;

    /**
     * 合同编号线下
     */
    @Schema(description = "合同编号线下")
    @ExcelProperty(value = "合同编号线下")
    private String htbhxx;

    /**
     * 合同总金额(元)
     */
    @Schema(description = "合同总金额(元)")
    @ExcelProperty(value = "合同总金额(元)")
    private BigDecimal htzjey;

    /**
     * 合同总货量
     */
    @Schema(description = "合同总货量")
    @ExcelProperty(value = "合同总货量")
    private BigDecimal htzhl;

    /**
     * 货量单位编码
     */
    @Schema(description = "货量单位编码")
    @ExcelProperty(value = "货量单位编码")
    private String hldwbm;

    /**
     * 燃料类型编码
     */
    @Schema(description = "燃料类型编码")
    @ExcelProperty(value = "燃料类型编码")
    private String rllxbm;

    /**
     * 燃料品名
     */
    @Schema(description = "燃料品名")
    @ExcelProperty(value = "燃料品名")
    private String rlpm;

    /**
     * 执行标准编码
     */
    @Schema(description = "执行标准编码")
    @ExcelProperty(value = "执行标准编码")
    private String zxbzbm;

    /**
     * 燃料等级编码
     */
    @Schema(description = "燃料等级编码")
    @ExcelProperty(value = "燃料等级编码")
    private String rldjbm;

    /**
     * 约定热值(千大卡)
     */
    @Schema(description = "约定热值(千大卡)")
    @ExcelProperty(value = "约定热值(千大卡)")
    private BigDecimal ydrzqdk;

    /**
     * 约定水分(百分比)
     */
    @Schema(description = "约定水分(百分比)")
    @ExcelProperty(value = "约定水分(百分比)")
    private BigDecimal ydsfbfb;

    /**
     * 约定灰分(百分比)
     */
    @Schema(description = "约定灰分(百分比)")
    @ExcelProperty(value = "约定灰分(百分比)")
    private BigDecimal ydhfbfb;

    /**
     * 包装形式编码
     */
    @Schema(description = "包装形式编码")
    @ExcelProperty(value = "包装形式编码")
    private String bzxsbm;

    /**
     * 付款方式编码
     */
    @Schema(description = "付款方式编码")
    @ExcelProperty(value = "付款方式编码")
    private String fkfsbm;

    /**
     * 预付款比例(百分比)
     */
    @Schema(description = "预付款比例(百分比)")
    @ExcelProperty(value = "预付款比例(百分比)")
    private BigDecimal yfkblbfb;

    /**
     * 预付款金额元
     */
    @Schema(description = "预付款金额元")
    @ExcelProperty(value = "预付款金额元")
    private BigDecimal yfkjey;

    /**
     * 预付款凭证附件
     */
    @Schema(description = "预付款凭证附件")
    @ExcelProperty(value = "预付款凭证附件")
    private String yfkpzfj;

    /**
     * 价格类型编码
     */
    @Schema(description = "价格类型编码")
    @ExcelProperty(value = "价格类型编码")
    private String jglxbm;

    /**
     * 单价(元吨)
     */
    @Schema(description = "单价(元吨)")
    @ExcelProperty(value = "单价(元吨)")
    private BigDecimal djyd;

    /**
     * 是否含税编码
     */
    @Schema(description = "是否含税编码")
    @ExcelProperty(value = "是否含税编码")
    private Boolean sfhsbm;

    /**
     * 税率(百分比)
     */
    @Schema(description = "税率(百分比)")
    @ExcelProperty(value = "税率(百分比)")
    private BigDecimal slbfb;

    /**
     * 基准价(元吨)
     */
    @Schema(description = "基准价(元吨)")
    @ExcelProperty(value = "基准价(元吨)")
    private BigDecimal jzjyd;

    /**
     * 浮动价范围(百分比)
     */
    @Schema(description = "浮动价范围(百分比)")
    @ExcelProperty(value = "浮动价范围(百分比)")
    private BigDecimal fdjfwbfb;

    /**
     * 热值单价(元千大卡)
     */
    @Schema(description = "热值单价(元千大卡)")
    @ExcelProperty(value = "热值单价(元千大卡)")
    private String rzdjyqdk;

    /**
     * 运输方式编码
     */
    @Schema(description = "运输方式编码")
    @ExcelProperty(value = "运输方式编码")
    private String ysfsbm;

    /**
     * 发货地址
     */
    @Schema(description = "发货地址")
    @ExcelProperty(value = "发货地址")
    private String fhdz;

    /**
     * 到货地点
     */
    @Schema(description = "到货地点")
    @ExcelProperty(value = "到货地点")
    private String dhdd;

    /**
     * 合同开始时间
     */
    @Schema(description = "合同开始时间")
    @ExcelProperty(value = "合同开始时间")
    private LocalDateTime htkssj;

    /**
     * 合同结束时间
     */
    @Schema(description = "合同结束时间")
    @ExcelProperty(value = "合同结束时间")
    private LocalDateTime htjssj;

    /**
     * 合同附件
     */
    @Schema(description = "合同附件")
    @ExcelProperty(value = "合同附件")
    private String htfj;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @ExcelProperty(value = "备注")
    private String bz;

    /**
     * 审核状态编码
     */
    @Schema(description = "审核状态编码")
    @ExcelProperty(value = "审核状态编码")
    private String shztbm;

    /**
     * 审核人员
     */
    @Schema(description = "审核人员")
    @ExcelProperty(value = "审核人员")
    private String shry;

    /**
     * 审核日期
     */
    @Schema(description = "审核日期")
    @ExcelProperty(value = "审核日期")
    private LocalDateTime shrq;

    /**
     * 审核意见
     */
    @Schema(description = "审核意见")
    @ExcelProperty(value = "审核意见")
    private String shyj;

    /**
     * 审核状态二级
     */
    @Schema(description = "审核状态二级")
    @ExcelProperty(value = "审核状态二级")
    private String shztej;

    /**
     * 审核人员二级
     */
    @Schema(description = "审核人员二级")
    @ExcelProperty(value = "审核人员二级")
    private String shryej;

    /**
     * 审核日期二级
     */
    @Schema(description = "审核日期二级")
    @ExcelProperty(value = "审核日期二级")
    private LocalDateTime shrqej;

    /**
     * 审核意见二级
     */
    @Schema(description = "审核意见二级")
    @ExcelProperty(value = "审核意见二级")
    private String shyjej;

    /**
     * del_flag
     */
    @Schema(description = " del_flag")
    @ExcelProperty(value = " del_flag")
    private Integer delFlag;
}